package com.zmn.plat.dubbo.interfaces.orderconfig.track.category;

import java.util.List;

import javax.validation.constraints.Positive;

import com.zmn.common.dto2.ResponseDTO;
import com.zmn.plat.common.dto.orderconfig.track.category.OrderTrackCategoryDRO;

import io.swagger.annotations.ApiOperation;
import io.swagger.annotations.ApiParam;

/**
 * @author tanbiao
 * @description
 * @modifier
 * @since 2020/12/3 14:09
 **/
public interface OrderTrackCategoryListRemoteService {
    /**
     * 描述: 根据主键查询跟单配置类型信息
     *
     * @param status
     *            1 停用 2 启用，可为null，查询全部
     * @return OrderCancelCategoryDRO
     * @auther: tanbiao
     * @since: 2020/11/24 11:11
     */
    @ApiOperation(value = "根据主键查询订单配置", response = ResponseDTO.class, notes = "", tags = {"订单配置"})
    ResponseDTO<List<OrderTrackCategoryDRO>> listByStatus(@Positive(message = "主键id必须为大于0的正整数") @ApiParam(value = "状态", required = true) Integer status);
}
